
<h5 class="card-title fw-semibold mb-4 suchiva-table-title">Users</h5>

      <form class="form-inline" action="<%= search_admin_users_path %>" method="get">
        <div class="col-sm-4">
          <input type="text" class="form-control" value="<%= params[:username] %>" name="username"/>
          <button type="submit" class="btn btn-default">搜索</button>
        </div>
      </form>
      <div class="col-sm-12">
        <table class="table">
          <thead>
          <tr>
            <th>ID</th>
            <th>用户名</th>
          </tr>
          </thead>
          <tbody>
          <%= render partial: "one_user", collection: @users, as: :user %>
          </tbody>
        </table>
        <%= will_paginate @users %>
      </div>

